{% extends 'HrOnlineBundle::layout.html.twig' %}

{% block body %}

    <header>
        <h1>{% trans %}Register{% endtrans %}</h1>
    </header>

	{% include 'HrOnlineBundle:Default:_flashes.html.twig' %}

    <form action="{{ path('hr_online_user_register') }}" method="post" {{ form_enctype(form) }} class="register" id="registerForm">
        {{ form_errors(form) }}

        {{ form_row(form.gender) }}
        {{ form_row(form.firstName) }}
        {{ form_row(form.lastName) }}
        {{ form_row(form.email) }}

        {{ form_row(form.password) }}
		<div id="strength" class="password-indicator"></div>

        {{ form_row(form.repeatPassword) }}
		<div id="confirm_check" class="password-indicator"></div>
		
		<fieldset>
		<legend>{% trans %}Your Data{% endtrans %}</legend>
			{{ form_rest(form) }}
			<p class="tip">
			{% trans %}Note: please upload documents in the following formats:  *.DOC, *.DOCX, *.PDF{% endtrans %}
			</p>
		</fieldset>

        <input type="submit" value="{% trans %}Submit{% endtrans %}" />



    </form>




	{% include 'HrOnlineBundle:User:_passwordChecker.html.twig' %}



{% endblock %}